﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="MvcMembership.Views.Account.Login" %>
<%@ Import Namespace="System.Web.Mvc.Html" %>
<%@ Import Namespace="MvcMembership.Controllers" %>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
<style>
/*  --->  Design by 0tutor.com  <---  */

body {
	/*background-color:#ff00c0;*/
	font-size:120%;
}

div.wrap {
height:100%
width:100%
}

h3 {
	color:white; font-size:22px;
}

.textbox_outer {
	padding-top: 43px; padding-left:150px;
}

.box_wrapper {
	background-image:url(../../Content/images/bg.gif); background-position:center; background-repeat:no-repeat;
	width:600px; height:360px; margin:auto; margin-top: 70px;
}

/*input {
	font-family: "Lucida Grande",Verdana,sans-serif;
	font-size:18px;
	border: 1px solid #999999;
}
input.textboxes {
	width:270px;
	background-color:#ff00c0;
}
input.btn {
	color:#ff00c0;
	border: 1px solid #999999;
}*/

div.labels {
	width:100px;
	color:white;
}
/*  --->  Design by 0tutor.com  <---  */

</style>
    <div class="corpo">
 
    
    <%
        IList<string> errors = ViewData["errors"] as IList<string>;
        if (errors != null) {
            %>
                <ul class="error">
                <% foreach (string error in errors) { %>
                    <li><%= Html.Encode(error) %></li>
                <% } %>
                </ul>
            <%
        }
         %>
         
<form method="post" action="<%= Html.AttributeEncode(Url.Action("Login")) %>">         
<div class="wrap">
	<div class="box_wrapper">
	  <div class="textbox_outer">
<h3>Entrar no sistema</h3>
 
<div class="labels">
  <label for="name">Usuário:</label> 
</div> 
<%= Html.TextBox("username", null, new {@class = "textboxes" })%>
  
<div class="labels">
  <label for="e-mail">Senha:</label>
</div>
<%= Html.Password("password", null, new { @class = "textboxes" })%>
<br /><input type="checkbox" name="rememberMe" value="true" /> <font color=white>Lembrar de mim?</font>
<p class="submit"><input class="btn" type="submit" value="Entrar" /></p>

		</div>
	</div>
</div>
     
    </form>        
         <font face="verdana" size="2">
        Por favor entre com seu usuário e senha. Se você não tem uma conta,
        <!-- favor clique <%= Html.ActionLink("aqui", "Register") %>.-->
        solicite uma para o administrador do sistema.</font>
   <%--      
    <form method="post" action="<%= Html.AttributeEncode(Url.Action("Login")) %>">
        <div>
            <table>
                <tr>
                    <td>Usuário:</td>
                    <td><%= Html.TextBox("username") %></td>
                </tr>
                <tr>
                    <td>Senha:</td>
                    <td><%= Html.Password("password") %></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="checkbox" name="rememberMe" value="true" /> Lembrar de mim?</td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" value="Entrar" /></td>
                </tr>
            </table>
        </div>
        
    </form>--%>

</div>
<script type="text/javascript">
    document.getElementById("username").focus();
</script>
</asp:Content>
